package com.zhengqing.design.action.mediator._01;

/**
 * <p> 中介类 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/22 11:13
 */
public class ChatRoom {
    public static void showMessage(User user, String message) {
        System.out.println(String.format("[%s]: %s", user.getName(), message));
    }
}